Optimal. Leaf size=63 \[ \frac {x \sqrt {b \sec (c+d x)}}{2 \sqrt {\sec (c+d x)}}+\frac {\sqrt {b \sec (c+d x)} \sin (c+d x)}{2 d \sec ^{\frac {3}{2}}(c+d x)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 63, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.130, Rules used = {17, 2715, 8}
\begin {gather*} \frac {x \sqrt {b \sec (c+d x)}}{2 \sqrt {\sec (c+d x)}}+\frac {\sin (c+d x) \sqrt {b \sec (c+d x)}}{2 d \sec ^{\frac {3}{2}}(c+d x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 8
Rule 17
Rule 2715
Rubi steps
\begin {align*} \int \frac {\sqrt {b \sec (c+d x)}}{\sec ^{\frac {5}{2}}(c+d x)} \, dx &=\frac {\sqrt {b \sec (c+d x)} \int \cos ^2(c+d x) \, dx}{\sqrt {\sec (c+d x)}}\\ &=\frac {\sqrt {b \sec (c+d x)} \sin (c+d x)}{2 d \sec ^{\frac {3}{2}}(c+d x)}+\frac {\sqrt {b \sec (c+d x)} \int 1 \, dx}{2 \sqrt {\sec (c+d x)}}\\ &=\frac {x \sqrt {b \sec (c+d x)}}{2 \sqrt {\sec (c+d x)}}+\frac {\sqrt {b \sec (c+d x)} \sin (c+d x)}{2 d \sec ^{\frac {3}{2}}(c+d x)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.07, size = 45, normalized size = 0.71 \begin {gather*} \frac {\sqrt {b \sec (c+d x)} (2 (c+d x)+\sin (2 (c+d x)))}{4 d \sqrt {\sec (c+d x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 33.36, size = 54, normalized size = 0.86
method | result | size |
default | \(\frac {\left (\sin \left (d x +c \right ) \cos \left (d x +c \right )+d x +c \right ) \sqrt {\frac {b}{\cos \left (d x +c \right )}}}{2 d \left (\frac {1}{\cos \left (d x +c \right )}\right )^{\frac {5}{2}} \cos \left (d x +c \right )^{2}}\) | \(54\) |
risch | \(\frac {\sqrt {\frac {b \,{\mathrm e}^{i \left (d x +c \right )}}{{\mathrm e}^{2 i \left (d x +c \right )}+1}}\, x}{2 \sqrt {\frac {{\mathrm e}^{i \left (d x +c \right )}}{{\mathrm e}^{2 i \left (d x +c \right )}+1}}}-\frac {i \sqrt {\frac {b \,{\mathrm e}^{i \left (d x +c \right )}}{{\mathrm e}^{2 i \left (d x +c \right )}+1}}\, {\mathrm e}^{2 i \left (d x +c \right )}}{8 \sqrt {\frac {{\mathrm e}^{i \left (d x +c \right )}}{{\mathrm e}^{2 i \left (d x +c \right )}+1}}\, d}+\frac {i \sqrt {\frac {b \,{\mathrm e}^{i \left (d x +c \right )}}{{\mathrm e}^{2 i \left (d x +c \right )}+1}}\, {\mathrm e}^{-2 i \left (d x +c \right )}}{8 \sqrt {\frac {{\mathrm e}^{i \left (d x +c \right )}}{{\mathrm e}^{2 i \left (d x +c \right )}+1}}\, d}\) | \(188\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.58, size = 25, normalized size = 0.40 \begin {gather*} \frac {{\left (2 \, d x + 2 \, c + \sin \left (2 \, d x + 2 \, c\right )\right )} \sqrt {b}}{4 \, d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 3.14, size = 158, normalized size = 2.51 \begin {gather*} \left [\frac {2 \, \sqrt {\frac {b}{\cos \left (d x + c\right )}} \cos \left (d x + c\right )^{\frac {3}{2}} \sin \left (d x + c\right ) + \sqrt {-b} \log \left (-2 \, \sqrt {-b} \sqrt {\frac {b}{\cos \left (d x + c\right )}} \cos \left (d x + c\right )^{\frac {3}{2}} \sin \left (d x + c\right ) + 2 \, b \cos \left (d x + c\right )^{2} - b\right )}{4 \, d}, \frac {\sqrt {\frac {b}{\cos \left (d x + c\right )}} \cos \left (d x + c\right )^{\frac {3}{2}} \sin \left (d x + c\right ) + \sqrt {b} \arctan \left (\frac {\sqrt {\frac {b}{\cos \left (d x + c\right )}} \sin \left (d x + c\right )}{\sqrt {b} \sqrt {\cos \left (d x + c\right )}}\right )}{2 \, d}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 17.60, size = 107, normalized size = 1.70 \begin {gather*} \begin {cases} \frac {x \sqrt {b \sec {\left (c + d x \right )}} \tan ^{2}{\left (c + d x \right )}}{2 \sec ^{\frac {5}{2}}{\left (c + d x \right )}} + \frac {x \sqrt {b \sec {\left (c + d x \right )}}}{2 \sec ^{\frac {5}{2}}{\left (c + d x \right )}} + \frac {\sqrt {b \sec {\left (c + d x \right )}} \tan {\left (c + d x \right )}}{2 d \sec ^{\frac {5}{2}}{\left (c + d x \right )}} & \text {for}\: d \neq 0 \\\frac {x \sqrt {b \sec {\left (c \right )}}}{\sec ^{\frac {5}{2}}{\left (c \right )}} & \text {otherwise} \end {cases} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.44, size = 41, normalized size = 0.65 \begin {gather*} \frac {\left (\sin \left (2\,c+2\,d\,x\right )+2\,d\,x\right )\,\sqrt {\frac {b}{\cos \left (c+d\,x\right )}}}{4\,d\,\sqrt {\frac {1}{\cos \left (c+d\,x\right )}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________